#include<stdio.h>
#define PI 3.1415
int main()
{
    double r;
    
    scanf("%lf",&r);
    printf("%lf   %lf",2*PI*r,PI*r*r);
    printf("hehe");

    return 0;
}